package com.lvmama.controller;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/rhino")
@Slf4j
public class RhinoController {

    @RequestMapping(value = "/index")
    public String index(Model model, HttpServletRequest request) {
        log.info("index start");
        try {

        } catch (Exception e) {
            log.error("index Exception:{}", e.getMessage(), e);
        }
        log.info("index end.");
        return "index";
    }

    @RequestMapping(value = {"/login"})
    public String login() {
        return "/login";
    }

}
